package io.gitee.zicai.graphql.sample.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Major
 *
 * @author zicai
 * @since 2021-04-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Entity
@Table(name = "t_major")
public class Major extends BaseEntity {

    private String name;

    private String classRoom;
}
